package com.woniu.service.medicalService;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.model.gh.utils.PageVo;
import com.woniu.model.medicalService.entity.Department;
import com.woniu.model.medicalService.vo.DepartmentVo;

import java.util.List;


//科室表
public interface IDepartmentService extends IService<Department> {

    //初始化科室信息
    void initDepartment();

    //查询所有一级科室
    List<Department> getFirstLevels();

    //查询所有二级科室
    List<Department> getSecondLevels();

    //分页 条件查询(根据二级科室名称模糊查询)
    PageVo<DepartmentVo> findPageByKeyword(Long firstLevelId, String secondLevelName, Integer pageNum, Integer pageSize);

}
